/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Service Type</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fi.jab.esb.config.xml.ServiceType#getListeners <em>Listeners</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.ServiceType#getActions <em>Actions</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.ServiceType#getCategory <em>Category</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.ServiceType#getDescription <em>Description</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.ServiceType#getName <em>Name</em>}</li>
 * </ul>
 * </p>
 *
 * @see fi.jab.esb.config.xml.XmlPackage#getServiceType()
 * @model extendedMetaData="name='service_._type' kind='elementOnly'"
 * @generated
 */
public interface ServiceType extends EObject
{
  /**
   * Returns the value of the '<em><b>Listeners</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * A container for all listener for a service.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Listeners</em>' containment reference.
   * @see #setListeners(ListenersType)
   * @see fi.jab.esb.config.xml.XmlPackage#getServiceType_Listeners()
   * @model containment="true" required="true"
   *        extendedMetaData="kind='element' name='listeners' namespace='##targetNamespace'"
   * @generated
   */
  ListenersType getListeners();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.ServiceType#getListeners <em>Listeners</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Listeners</em>' containment reference.
   * @see #getListeners()
   * @generated
   */
  void setListeners(ListenersType value);

  /**
   * Returns the value of the '<em><b>Actions</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * A container for actions belonging to this service.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Actions</em>' containment reference.
   * @see #setActions(ActionsType)
   * @see fi.jab.esb.config.xml.XmlPackage#getServiceType_Actions()
   * @model containment="true"
   *        extendedMetaData="kind='element' name='actions' namespace='##targetNamespace'"
   * @generated
   */
  ActionsType getActions();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.ServiceType#getActions <em>Actions</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Actions</em>' containment reference.
   * @see #getActions()
   * @generated
   */
  void setActions(ActionsType value);

  /**
   * Returns the value of the '<em><b>Category</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 						The service category which will be used to store a reference to this service in the registry.
   * 					
   * <!-- end-model-doc -->
   * @return the value of the '<em>Category</em>' attribute.
   * @see #setCategory(String)
   * @see fi.jab.esb.config.xml.XmlPackage#getServiceType_Category()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
   *        extendedMetaData="kind='attribute' name='category'"
   * @generated
   */
  String getCategory();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.ServiceType#getCategory <em>Category</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Category</em>' attribute.
   * @see #getCategory()
   * @generated
   */
  void setCategory(String value);

  /**
   * Returns the value of the '<em><b>Description</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 						The service description which stored with this service in the registry, so that the purpose of this service can be
   * 						understood by a human.
   * 					
   * <!-- end-model-doc -->
   * @return the value of the '<em>Description</em>' attribute.
   * @see #setDescription(String)
   * @see fi.jab.esb.config.xml.XmlPackage#getServiceType_Description()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
   *        extendedMetaData="kind='attribute' name='description'"
   * @generated
   */
  String getDescription();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.ServiceType#getDescription <em>Description</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Description</em>' attribute.
   * @see #getDescription()
   * @generated
   */
  void setDescription(String value);

  /**
   * Returns the value of the '<em><b>Name</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * 
   * 						The service name which will be used to store a reference to this service in the registry.
   * 					
   * <!-- end-model-doc -->
   * @return the value of the '<em>Name</em>' attribute.
   * @see #setName(String)
   * @see fi.jab.esb.config.xml.XmlPackage#getServiceType_Name()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
   *        extendedMetaData="kind='attribute' name='name'"
   * @generated
   */
  String getName();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.ServiceType#getName <em>Name</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Name</em>' attribute.
   * @see #getName()
   * @generated
   */
  void setName(String value);

} // ServiceType
